<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Vip_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-vip_name" data-rule="required" class="form-control" name="row[vip_name]" type="text" value="{$row.vip_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Market_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-market_price" data-rule="required" class="form-control" step="0.01" name="row[market_price]" type="number" value="{$row.market_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Vip_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-vip_price" data-rule="required" class="form-control" step="0.01" name="row[vip_price]" type="number" value="{$row.vip_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Vip_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-vip_time" data-rule="required" class="form-control" data-use-current="true" name="row[vip_time]" type="number" value="{$row.vip_time}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('VIP特权')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-label_json" data-rule="required" class="form-control" name="row[label_json]" data-role="tagsinput" type="text" value="{$row.label_json}">
            <span class="text-muted small">输入后<code>回车</code>或<code>,</code>确认</span>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('常见问题')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control editor" rows="5" name="row[content]">{$row.content}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
